<template>
	<view class="container">

		<view>
			<u--form labelPosition="left" :model="model1" ref="form1">
						<u--textarea v-model="model1.userInfo.name" disabled disabledColor='#fff'></u--textarea>
			</u--form>
				<u-button type="primary" text="确定" @click="submit" class='but'></u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				showSex: false,
				
				model1: {
					userInfo: {
						name: '王富贵',
						sex: '',
					},
				},
			
			
			};
		},
		methods: {
			submit() {
				console.log(this.model1)
				uni.showToast({
					icon:"none",
					title:'将通知申请人开始作业'
					
				})
				setTimeout(()=>{
					uni.navigateBack({
						delta:2
					})
				},2000)
				
			},
			
		}
	}
</script>

<style lang="scss">
	.container {
		padding: 0 24rpx;
		background-color: #f6f6f6;

		.title {
			font-size: 28rpx;
			font-weight: 500;
			color: #999999;
			line-height: 44rpx;
			padding: 20rpx 48rpx;
		}

		.box {
			padding: 0rpx 48rpx;
			background-color: #fff;
			border-radius: 20rpx;
		}
	}

	.but {
		margin: 30rpx 0;
	}
</style>
